package com.cmict.data.bpm.controller.admin.task.vo.task;

import com.cmict.data.bpm.service.externalfile.ExternalFileInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

@ApiModel("管理后台 - 不通过流程任务的 Request VO")
@Data
public class BpmTaskRejectReqVO {

    @ApiModelProperty(value = "任务编号", required = true, example = "1024")
    @NotEmpty(message = "任务编号不能为空")
    private String id;

    private List<String> idList;

    @ApiModelProperty(value = "审批意见", required = true, example = "不错不错！")
    @NotEmpty(message = "审批意见不能为空")
    private String reason;

    /**
     * 图片附件
     */
    @ApiModelProperty(value = "图片附件", example = "不错不错！")
    private List<ExternalFileInfo> imageList;

    /**
     * 文件附件
     */
    @ApiModelProperty(value = "文件附件", example = "不错不错！")
    private List<ExternalFileInfo> fileList;
}
